hysop.backend.device.codegen.functions.custom_atomics module

class hysop.backend.device.codegen.functions.custom_atomics.CustomAtomicFunction(typegen, ftype, op, storage='__global', opname=None)[source]

Bases: OpenClFunctionCodeGenerator

build_union(ftype, tg)[source]
gencode(atomic_cmpxchg)[source]